/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.epam.expertsys.blogic;

import java.util.Date;

/**
 *
 * @author Admin
 */
public class Request {

    private Long requestId;
    private Long requestDate;
    private String symptomsDescription;
    private Long patientId;
    private String assumedSpecialization;

    public Request(Long requestId, Long requestDate, String symptomsDescription,
            Long patientId, String assumedSpecialization) {
        this.patientId = patientId;
        this.requestId = requestId;
        this.requestDate = requestDate;
        this.symptomsDescription = symptomsDescription;
        this.assumedSpecialization = assumedSpecialization;
    }

    /**
     * @return the requestId
     */
    public Long getRequestId() {
        return requestId;
    }

    /**
     * @param requestId the requestId to set
     */
    public void setRequestId(Long requestId) {
        this.requestId = requestId;
    }

    /**
     * @return the requestDate
     */
    public Long getRequestDate() {
        return requestDate;
    }

    public String getFormattedDate() {
        return (new Date(requestDate)).toString();
    }

    /**
     * @param requestDate the requestDate to set
     */
    public void setRequestDate(Long requestDate) {
        this.requestDate = requestDate;
    }

    /**
     * @return the symptomsDescription
     */
    public String getSymptomsDescription() {
        return symptomsDescription;
    }

    /**
     * @param symptomsDescription the symptomsDescription to set
     */
    public void setSymptomsDescription(String symptomsDescription) {
        this.symptomsDescription = symptomsDescription;
    }

    /**
     * @return the patientId
     */
    public Long getPatientId() {
        return patientId;
    }

    /**
     * @param patientId the patientId to set
     */
    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    /**
     * @return the assumedSpecialization
     */
    public String getAssumedSpecialization() {
        return assumedSpecialization;
    }

    /**
     * @param assumedSpecialization the assumedSpecialization to set
     */
    public void setAssumedSpecialization(String assumedSpecialization) {
        this.assumedSpecialization = assumedSpecialization;
    }
}
